/*******************************************************************************
* Copyright (c) 2000, 2007 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
*******************************************************************************/
package org.eclipse.dltk.internal.corext.refactoring.reorg;
import org.eclipse.core.resources.IResource;
import org.eclipse.dltk.core.IModelElement;
public interface IReorgDestinationValidator {
//TODO: Do we need this interface? Or should IReorgPolicy be public and available from ScriptMoveProcessor and CopyRefactoring?
public boolean canChildrenBeDestinations(IResource resource);
public boolean canChildrenBeDestinations(IModelElement modelElement);
public boolean canElementBeDestination(IResource resource);
public boolean canElementBeDestination(IModelElement modelElement);
}